<template>
  <!-- 
  <el-button type="primary"><router-link :to="{ name: 'home' }">首页</router-link></el-button>
  <el-button type="success"><router-link :to="{ name: 'login' }">登录</router-link></el-button>
  <el-button type="danger"><router-link :to="{ name: 'vuex' }">vuex</router-link></el-button> -->
  <router-view />
</template>

<script setup>
import { onMounted } from 'vue'
import { getUserList } from '@/api/common'

onMounted(async () => {
  let data = await getUserList()
  console.log('data', data)
})
</script>
